public class testUpdateDashboard  {
    
    static testMethod void testUpdateDashboard () {
    MedicalDashboard__c md = new MedicalDashboard__c();
    md.year__c = '2000';
    md.month__c = '1';
    insert md;    
    
    Achieve__c ach = new Achieve__c();
    ach.Brand_use_in_hospital_cover_achieve__c = 1;
    ach.brand_use_in_hospital_cover_forecast__c = 1;
    ach.HCP_evaluation_cover_achieve__c = 1;
    ach.HCP_evaluation_cover_forecast__c = 1;
    ach.P_class_cover_achieve__c = 1;
    ach.P_class_cover_forecast__c = 1;
    ach.Total_conversion_achieve__c = 1;
    ach.total_conversion_forecast__c = 1;
    ach.Year__c = '2000';
    ach.Month__c = '1';
    insert ach;
    update ach;
    delete ach;

    Achieve__c ach1 = new Achieve__c();
    ach1 .Brand_use_in_hospital_cover_achieve__c = 1;
    ach1 .brand_use_in_hospital_cover_forecast__c = 0;
    ach1 .HCP_evaluation_cover_achieve__c = 1;
    ach1 .HCP_evaluation_cover_forecast__c = 0;
    ach1 .P_class_cover_achieve__c = 1;
    ach1 .P_class_cover_forecast__c = 0;
    ach1 .Total_conversion_achieve__c = 1;
    ach1 .total_conversion_forecast__c = 0;   
    ach1 .Year__c = '2000';
    ach1 .Month__c = '1';
    insert ach1 ;
    update ach1;
    delete ach1 ;    
   
    }
}